package com.bestcem.xm.deliver.controller.v2.param;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 邮件再次投放-保存参数
 *
 * @author SXS
 */
@ApiModel(description = "邮件重新投放-参数")
@Data
@NoArgsConstructor
public class EmailDeliversParamAgain extends EmailDeliversParam {
    /**
     * 发送邮件邮箱
     */
    @TableField(value = "smtp_id")
    @JsonProperty("smtp_id")
    @JSONField(name = "smtp_id")
    private String smtpId;

    /**
     * 发送人
     */
    @TableField(value = "mail_from")
    @JsonProperty("mail_from")
    @JSONField(name = "mail_from")
    private String mailFrom;

    /**
     * 邮件主题
     */
    @TableField(value = "email_subject")
    @JsonProperty("email_subject")
    @JSONField(name = "email_subject")
    private String emailSubject;

    /**
     * 邮件模板
     */
    @TableField(value = "email_template")
    @JsonProperty("email_template")
    @JSONField(name = "email_template")
    private String emailTemplate;

    /**
     * 限制提交次数
     */
    @TableField(value = "check_submit")
    @JsonProperty("check_submit")
    @JSONField(name = "check_submit")
    private Integer checkSubmit;

    /**
     * 添加奖励状态
     */
    @JsonProperty("award_use_type")
    @JSONField(name = "award_use_type")
    private Integer awardUseType;

    /**
     * 奖励id
     */
    @JsonProperty("award_id")
    @JSONField(name = "award_id")
    private String awardId;
}